package com.hangjiang.gulidear.test;

import org.hibernate.cfg.AnnotationConfiguration;
import org.hibernate.cfg.Configuration;
import org.hibernate.tool.hbm2ddl.SchemaExport;

public class CreateTable {

	public static void main(String args[]) {
		Configuration cfg = new AnnotationConfiguration()
				.configure("com\\hangjiang\\gulidear\\test\\hibernate.cfg.xml");
		SchemaExport export = new SchemaExport(cfg);
		export.create(true, true);
	}
}
